class AlarmsController < ApplicationController
  def index
    @alarms = Alarm.find :all
    respond_to  do |format|
      format.html
      format.xml { render :xml => @alarms} 
      format.rss { render :rss => @alarms}
    end
  end
end